﻿package {
	
	public class Item {
		
		// Constants:
		// Public Properties:
		public var quality:String;
		public var baseType:String;
		public var subType:String;
		public var itemName:String;
		public var attributes:Array	= new Array();
		// Private Properties:
	
		// Initialization:
		public function Item(ITEM:XML) {
			quality		= ITEM.quality;
			baseType	= ITEM.baseType;
			subType		= ITEM.subType;
			itemName	= ITEM.itemName;
			
			var attrList:XMLList	= ITEM.attributes.attribute;
			for each(var attr:XML in attrList) {
				var info:Array	= new Array(attr.name, attr.value);
				attributes.push(info);
			}
		}
	
		// Public Methods:
		// Protected Methods:
	}
	
}